package
{

    [Bindable]
    public class Player
    {
        public var flag:String;
        public var firstName:String;
        public var nickName:String;
        public var lastName:String;
        public var type:String;

        public function Player(num:int)
        {
            flag='fr';
            firstName="P" + num;
            nickName="T" + num;
            lastName="N" + num;
            type="Joueur";
        }

        public function getFlag():String
        {
            return flag;
        }

        public function getFirstName():String
        {
            return firstName;
        }

        public function getNickName():String
        {
            return nickName;
        }

        public function getLastName():String
        {
            return lastName;
        }

        public function getType():String
        {
            return type;
        }

        public function setFlag(f:String):void
        {
            flag=f;
        }

        public function setFirstName(n:String):void
        {
            firstName=n;
        }

        public function setNickName(n:String):void
        {
            nickName=n;
        }

        public function setLastName(n:String):void
        {
            lastName=n;
        }
        
        public function setType(t:String):void
        {
            type=t;
        }

    }
}